package com.imchen.cms.cmscore.dao;

import com.imchen.cms.cmscore.model.Template;
import org.springframework.stereotype.Repository;

@Repository
public interface TemplateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Template record);

    int insertSelective(Template record);

    Template selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Template record);

    int updateByPrimaryKey(Template record);

    Template selectByName(String name);
}